package com.heima.apis.admin;

import com.heima.model.common.dtos.PageRequestDto;
import com.heima.model.common.dtos.PageSensitive;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmSensitiveDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "leadnews-wemedia")
public interface lAdminClient {

    @PostMapping("/api/v1/sensitive")
    public ResponseResult list(@RequestBody PageSensitive dto);

    @GetMapping("/api/v1/channel/list")
    public ResponseResult getChannels();

}
